/*----------------------------------------------------------\\
|| Mancala                                                  ||
|| CS-340 with Professor Troy                               ||
|| Joshua Jung and Eugene Magdel                            ||
|| April 29, 2011                                           ||
\\----------------------------------------------------------*/
#include <string.h>
#include <sstream>
#include <iostream>
#include <fstream>
#include <list>
#include <stdio.h>
#include <stdlib.h>

#ifndef HIGHSCORE_H
#define HIGHSCORE_H
//TODO add qt path
#define SCORE_FILE "../cs340-mancala/scores.txt"
using namespace std;

class Score{
      public:
      string name;
      int score;
      Score(string, int);
    };
//TODO Figure how to get STL list to use operator less than this...
bool compare_score(Score*, Score*);
class Highscore{
  public:
    static void add(string,int);
    static void top(int, Score**);
    static void clear_scores();
    static bool is_top_5_score(int);
};
#endif
